package com.py.credit.service;

import com.py.credit.entity.LhjcMetric;
import org.apache.poi.ss.usermodel.Sheet;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface LhjcExcelReadService {

    List<Map<String, Object>> readExcelData(int start, int end, Sheet st, String batchId, List<LhjcMetric> listMetrics, int cubeId)
            throws IOException;

    Map<String, Object> readExcelFileHead(Sheet st, String batchId, List<LhjcMetric> listMetrics)
            throws FileNotFoundException;

    Sheet readExcelFileForSheet(String filePath) throws IOException;
}
